﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.Mapping
{
    public class AreaEntityMap : EntityTypeConfiguration<AreaEntity>
    {
        public AreaEntityMap()
        {
            this.ToTable("Sys_Area");
            this.HasKey(t => t.Id);
        }
    }
}
